package cola.rh.System.Entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @Name: SysUserRole
 * @Author: Cola
 * @Time: 2023/3/8 15:57
 * @Description: SysUserRole
 */
@Data
@ApiModel(description = "用户角色")
@TableName("sys_user_role")
public class UserRole extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "角色 ID")
    @TableField("role_id")
    private Long roleId;

    @ApiModelProperty(value = "用户 ID")
    @TableField("user_id")
    private Long userId;
}
